package com.crm.service;

import org.springframework.transaction.annotation.Transactional;

import com.crm.dao.WebsiteDao;
import com.crm.pojo.Website;

@Transactional
public class WebsiteService {
	private WebsiteDao  websiteDao;

	public void setWebsiteDao(WebsiteDao websiteDao) {
		this.websiteDao = websiteDao;
	}

	public void save(Website website) {
		websiteDao.save(website);
		
	}

	public Website findById(String id) {
		return websiteDao.get(id);
	}

	
	
}
